package com.honglv;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


@SpringBootApplication
@EnableTransactionManagement //开启注解方式的事务管理
@EnableScheduling
@EnableWebMvc
@Slf4j
@MapperScan("com.honglv.mapper")
public class HonglvApplication {
    public static void main(String[] args) {
        SpringApplication.run(HonglvApplication.class, args);
    }

}
